<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8"/>
  <title>iconfont Demo</title>
  <link rel="shortcut icon" href="//img.alicdn.com/imgextra/i4/O1CN01Z5paLz1O0zuCC7osS_!!6000000001644-55-tps-83-82.svg" type="image/x-icon"/>
  <link rel="icon" type="image/svg+xml" href="//img.alicdn.com/imgextra/i4/O1CN01Z5paLz1O0zuCC7osS_!!6000000001644-55-tps-83-82.svg"/>
  <link rel="stylesheet" href="https://g.alicdn.com/thx/cube/1.3.2/cube.min.css">
  <link rel="stylesheet" href="demo.css">
  <link rel="stylesheet" href="iconfont.css">
  <script src="iconfont.js"></script>
  <!-- jQuery -->
  <script src="https://a1.alicdn.com/oss/uploads/2018/12/26/7bfddb60-08e8-11e9-9b04-53e73bb6408b.js"></script>
  <!-- 代码高亮 -->
  <script src="https://a1.alicdn.com/oss/uploads/2018/12/26/a3f714d0-08e6-11e9-8a15-ebf944d7534c.js"></script>
  <style>
    .main .logo {
      margin-top: 0;
      height: auto;
    }

    .main .logo a {
      display: flex;
      align-items: center;
    }

    .main .logo .sub-title {
      margin-left: 0.5em;
      font-size: 22px;
      color: #fff;
      background: linear-gradient(-45deg, #3967FF, #B500FE);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  </style>
</head>
<body>
  <div class="main">
    <h1 class="logo"><a href="https://www.iconfont.cn/" title="iconfont 首页" target="_blank">
      <img width="200" src="https://img.alicdn.com/imgextra/i3/O1CN01Mn65HV1FfSEzR6DKv_!!6000000000514-55-tps-228-59.svg">
      
        <span class="sub-title">彩色字体</span>
      
    </a></h1>
    <div class="nav-tabs">
      <ul id="tabs" class="dib-box">
        <li class="dib active"><span>Unicode</span></li>
        <li class="dib"><span>Font class</span></li>
        <li class="dib"><span>Symbol</span></li>
      </ul>
      
      <a href="https://www.iconfont.cn/manage/index?manage_type=myprojects&projectId=4431165" target="_blank" class="nav-more">查看项目</a>
      
    </div>
    <div class="tab-container">
      <div class="content unicode" style="display: block;">
          <ul class="icon_lists dib-box">
          
            <li class="dib">
              <span class="icon iconfont">&#xe671;</span>
                <div class="name">文件夹</div>
                <div class="code-name">&amp;#xe671;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe601;</span>
                <div class="name">文件类型-Excel</div>
                <div class="code-name">&amp;#xe601;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe602;</span>
                <div class="name">文件类型-文件夹</div>
                <div class="code-name">&amp;#xe602;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe603;</span>
                <div class="name">文件类型-Word</div>
                <div class="code-name">&amp;#xe603;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe604;</span>
                <div class="name">文件类型-PPT</div>
                <div class="code-name">&amp;#xe604;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe605;</span>
                <div class="name">文件类型-音频</div>
                <div class="code-name">&amp;#xe605;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe606;</span>
                <div class="name">文件类型-程序</div>
                <div class="code-name">&amp;#xe606;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe607;</span>
                <div class="name">文件类型-视频</div>
                <div class="code-name">&amp;#xe607;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe608;</span>
                <div class="name">文件类型-链接</div>
                <div class="code-name">&amp;#xe608;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe609;</span>
                <div class="name">文件类型-图片</div>
                <div class="code-name">&amp;#xe609;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe60a;</span>
                <div class="name">文件类型-压缩包</div>
                <div class="code-name">&amp;#xe60a;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe60b;</span>
                <div class="name">文件类型-未知文件</div>
                <div class="code-name">&amp;#xe60b;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe60c;</span>
                <div class="name">文件类型-Gif</div>
                <div class="code-name">&amp;#xe60c;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe60d;</span>
                <div class="name">文件类型-Exe</div>
                <div class="code-name">&amp;#xe60d;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe60e;</span>
                <div class="name">文件类型-Pdf</div>
                <div class="code-name">&amp;#xe60e;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe60f;</span>
                <div class="name">文件类型-Txt</div>
                <div class="code-name">&amp;#xe60f;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe610;</span>
                <div class="name">文件类型-WPS</div>
                <div class="code-name">&amp;#xe610;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe611;</span>
                <div class="name">文件类型-数据库2</div>
                <div class="code-name">&amp;#xe611;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe612;</span>
                <div class="name">文件类型-数据库</div>
                <div class="code-name">&amp;#xe612;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe613;</span>
                <div class="name">文件类型-3D</div>
                <div class="code-name">&amp;#xe613;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe614;</span>
                <div class="name">文件类型-邮件</div>
                <div class="code-name">&amp;#xe614;</div>
              </li>
          
            <li class="dib">
              <span class="icon iconfont">&#xe615;</span>
                <div class="name">文件类型-配置文件</div>
                <div class="code-name">&amp;#xe615;</div>
              </li>
          
          </ul>
          <div class="article markdown">
          <h2 id="unicode-">Unicode 引用</h2>
          <hr>

          <p>Unicode 是字体在网页端最原始的应用方式，特点是：</p>
          <ul>
            <li>支持按字体的方式去动态调整图标大小，颜色等等。</li>
            <li>默认情况下不支持多色，直接添加多色图标会自动去色。</li>
          </ul>
          <blockquote>
            <p>注意：新版 iconfont 支持两种方式引用多色图标：SVG symbol 引用方式和彩色字体图标模式。（使用彩色字体图标需要在「编辑项目」中开启「彩色」选项后并重新生成。）</p>
          </blockquote>
          <p>Unicode 使用步骤如下：</p>
          <h3 id="-font-face">第一步：拷贝项目下面生成的 <code>@font-face</code></h3>
<pre><code class="language-css"
>@font-face {
  font-family: 'iconfont';
  src: 
       url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAA34AAwAAAAAJZgAAA2mAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIoM+I2oGYABECrw0qzsBNgIkA4JyC4E8AAQgBYF8ByAbjhtRVLOKIvtxkJO5mgcqlUoRbcIdcSbu/G+LfRlK+fO0rf8zAwhcaqhYBVwZ0AaDWsVMjMZkwyjYyGTZbfcV7/30ZbuvQzf1p27G8MCzP9777fSdJTZpQn3rW1tpcNpZNhMYqfnV+oE2aE/8inh3oyaM6B+jDVc4Ogxb9m5bERvzP2fa/iPODSWjUIBqTvb/wO4HXvvbDEqHnB7mOjoeAiQdACly0+iYhJqccZOTE1IOUq/d9vjQDolwiJtxCS0qgSoRg6Ym214vCwBkAPgA9iuGA6CdlDg6Bhpg1o0Kw6GY+BSLsHM2CQZEeXEc4Wi4dBh4DGj4TDNKIJYiJFBCZkok5WRiViwSLjRS2TNKJu9hlCuEUwijhFGRURPTkJqDIRwugoyWkI6Ankwkkbm4osgYMJBwRjImLNGYYmggFsehrHgyCTpKiUQ8SdDYTMbimUwiBSFVXsmRhs0K2AbA7ukg4sQ1j3c5LOmYMsgoiLjwZdJap8sCkO2ZgyEXLi9sXyifQAEoxEUXUAxKcRnC5QAq1VVY3Jiqcec16GoB1OF6BBpAo34TpBkNgByG6Ma7gf6LSmrZe1HUD6MmijrZSh25X07dfm2COn6fG/hvp4+6N7yD+uz9E9TTx6f+T/w+Tq2uukY1ngqlWXOTsvbeDDXvURXbHlBLl1KU+01I3Tix/kkdSwE9PAzbCwy6CQ3iXgAo3RpsFSwhFoDJseTI/SkbKcuF90H7doi2lloLaAGsBYABABx+EwC0ZgIUBktuAkaUdIkAWCcelyjwVjo9RFFPH6wQdUmFKZ+1MhALLejbvAlgH2CnAXAiAEABQONazaGx4Wh0WkqguynguEKduTGFURC4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v/LGLxapWfO/X19WZ/exxzmd+8+ueKq1q26WLGbw1ojQZOPFQ/UvBql9cauWv6n2aX/NX3pj89/PVFN57PxHO//JieJAX8TYUFgnkS3om/VKSXlHScokh/aIlMC8wGF8w3TC9YFxxCZ78+8LmcNNR0+aZGsCgBEDYDT8f+lYYMcId9YQA24NJ8H3YDwRonRcA+3vw4bxh2lsegfMOi0b30i5dXuhDBV3/36c7aC5bAu47MfAX5b2inwfX3wG64y/BdoBmT6RfwFrJRRCADrBOygQuXi4cfW26HGbknS9DI1/G1i60bda+jC0gOhSXAWEZywRkQ8biAdniwmDs5mj1JAjuhePdUr+OVHgB26TnSHplWxpA/gf9m/0GaV0pBPw2CX4M8G4I3gN+9IritI44j+iiS18Dogl1kPUyDtBY/XvXognTXHhjMHF1mDI0WDjbdxHAt+H4wICDJvU/Sgia02lVN2dQ8Z0ujNZuC3Ua0M97uzyfKt3m8+vVbliSeImnDIcy5Ze553LIjy1uUSGve1pcG8saNmIhjK79QLWsWmmOc6XO+Y8JDQAA') format('woff2'),
       url('iconfont.woff?t=1706866932581') format('woff'),
       url('iconfont.ttf?t=1706866932581') format('truetype');
}
</code></pre>
          <h3 id="-iconfont-">第二步：定义使用 iconfont 的样式</h3>
<pre><code class="language-css"
>.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
</code></pre>
          <h3 id="-">第三步：挑选相应图标并获取字体编码，应用于页面</h3>
<pre>
<code class="language-html"
>&lt;span class="iconfont"&gt;&amp;#x33;&lt;/span&gt;
</code></pre>
          <blockquote>
            <p>"iconfont" 是你项目下的 font-family。可以通过编辑项目查看，默认是 "iconfont"。</p>
          </blockquote>
          </div>
      </div>
      <div class="content font-class">
        <ul class="icon_lists dib-box">
          
          <li class="dib">
            <span class="icon iconfont icon-file-wenjianjia"></span>
            <div class="name">
              文件夹
            </div>
            <div class="code-name">.icon-file-wenjianjia
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-Excel"></span>
            <div class="name">
              文件类型-Excel
            </div>
            <div class="code-name">.icon-file-Excel
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-File"></span>
            <div class="name">
              文件类型-文件夹
            </div>
            <div class="code-name">.icon-file-File
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-Word"></span>
            <div class="name">
              文件类型-Word
            </div>
            <div class="code-name">.icon-file-Word
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-PPT"></span>
            <div class="name">
              文件类型-PPT
            </div>
            <div class="code-name">.icon-file-PPT
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-music"></span>
            <div class="name">
              文件类型-音频
            </div>
            <div class="code-name">.icon-file-music
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-chengxu"></span>
            <div class="name">
              文件类型-程序
            </div>
            <div class="code-name">.icon-file-chengxu
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-shipin"></span>
            <div class="name">
              文件类型-视频
            </div>
            <div class="code-name">.icon-file-shipin
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-lianjiewenjian"></span>
            <div class="name">
              文件类型-链接
            </div>
            <div class="code-name">.icon-file-lianjiewenjian
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-tupian"></span>
            <div class="name">
              文件类型-图片
            </div>
            <div class="code-name">.icon-file-tupian
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-yasuobao"></span>
            <div class="name">
              文件类型-压缩包
            </div>
            <div class="code-name">.icon-file-yasuobao
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-weizhiwenjian"></span>
            <div class="name">
              文件类型-未知文件
            </div>
            <div class="code-name">.icon-file-weizhiwenjian
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-Gif"></span>
            <div class="name">
              文件类型-Gif
            </div>
            <div class="code-name">.icon-file-Gif
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-Exe"></span>
            <div class="name">
              文件类型-Exe
            </div>
            <div class="code-name">.icon-file-Exe
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-Pdf"></span>
            <div class="name">
              文件类型-Pdf
            </div>
            <div class="code-name">.icon-file-Pdf
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-txt"></span>
            <div class="name">
              文件类型-Txt
            </div>
            <div class="code-name">.icon-file-txt
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-WPS"></span>
            <div class="name">
              文件类型-WPS
            </div>
            <div class="code-name">.icon-file-WPS
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-shujuku2"></span>
            <div class="name">
              文件类型-数据库2
            </div>
            <div class="code-name">.icon-file-shujuku2
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-shujuku"></span>
            <div class="name">
              文件类型-数据库
            </div>
            <div class="code-name">.icon-file-shujuku
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-a-3D"></span>
            <div class="name">
              文件类型-3D
            </div>
            <div class="code-name">.icon-file-a-3D
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-youjian"></span>
            <div class="name">
              文件类型-邮件
            </div>
            <div class="code-name">.icon-file-youjian
            </div>
          </li>
          
          <li class="dib">
            <span class="icon iconfont icon-file-peizhiwenjian"></span>
            <div class="name">
              文件类型-配置文件
            </div>
            <div class="code-name">.icon-file-peizhiwenjian
            </div>
          </li>
          
        </ul>
        <div class="article markdown">
        <h2 id="font-class-">font-class 引用</h2>
        <hr>

        <p>font-class 是 Unicode 使用方式的一种变种，主要是解决 Unicode 书写不直观，语意不明确的问题。</p>
        <p>与 Unicode 使用方式相比，具有如下特点：</p>
        <ul>
          <li>相比于 Unicode 语意明确，书写更直观。可以很容易分辨这个 icon 是什么。</li>
          <li>因为使用 class 来定义图标，所以当要替换图标时，只需要修改 class 里面的 Unicode 引用。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的 fontclass 代码：</h3>
<pre><code class="language-html">&lt;link rel="stylesheet" href="./iconfont.css"&gt;
</code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
<pre><code class="language-html">&lt;span class="iconfont icon-file-xxx"&gt;&lt;/span&gt;
</code></pre>
        <blockquote>
          <p>"
            iconfont" 是你项目下的 font-family。可以通过编辑项目查看，默认是 "iconfont"。</p>
        </blockquote>
      </div>
      </div>
      <div class="content symbol">
          <ul class="icon_lists dib-box">
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-wenjianjia"></use>
                </svg>
                <div class="name">文件夹</div>
                <div class="code-name">#icon-file-wenjianjia</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-Excel"></use>
                </svg>
                <div class="name">文件类型-Excel</div>
                <div class="code-name">#icon-file-Excel</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-File"></use>
                </svg>
                <div class="name">文件类型-文件夹</div>
                <div class="code-name">#icon-file-File</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-Word"></use>
                </svg>
                <div class="name">文件类型-Word</div>
                <div class="code-name">#icon-file-Word</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-PPT"></use>
                </svg>
                <div class="name">文件类型-PPT</div>
                <div class="code-name">#icon-file-PPT</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-music"></use>
                </svg>
                <div class="name">文件类型-音频</div>
                <div class="code-name">#icon-file-music</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-chengxu"></use>
                </svg>
                <div class="name">文件类型-程序</div>
                <div class="code-name">#icon-file-chengxu</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-shipin"></use>
                </svg>
                <div class="name">文件类型-视频</div>
                <div class="code-name">#icon-file-shipin</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-lianjiewenjian"></use>
                </svg>
                <div class="name">文件类型-链接</div>
                <div class="code-name">#icon-file-lianjiewenjian</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-tupian"></use>
                </svg>
                <div class="name">文件类型-图片</div>
                <div class="code-name">#icon-file-tupian</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-yasuobao"></use>
                </svg>
                <div class="name">文件类型-压缩包</div>
                <div class="code-name">#icon-file-yasuobao</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-weizhiwenjian"></use>
                </svg>
                <div class="name">文件类型-未知文件</div>
                <div class="code-name">#icon-file-weizhiwenjian</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-Gif"></use>
                </svg>
                <div class="name">文件类型-Gif</div>
                <div class="code-name">#icon-file-Gif</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-Exe"></use>
                </svg>
                <div class="name">文件类型-Exe</div>
                <div class="code-name">#icon-file-Exe</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-Pdf"></use>
                </svg>
                <div class="name">文件类型-Pdf</div>
                <div class="code-name">#icon-file-Pdf</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-txt"></use>
                </svg>
                <div class="name">文件类型-Txt</div>
                <div class="code-name">#icon-file-txt</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-WPS"></use>
                </svg>
                <div class="name">文件类型-WPS</div>
                <div class="code-name">#icon-file-WPS</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-shujuku2"></use>
                </svg>
                <div class="name">文件类型-数据库2</div>
                <div class="code-name">#icon-file-shujuku2</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-shujuku"></use>
                </svg>
                <div class="name">文件类型-数据库</div>
                <div class="code-name">#icon-file-shujuku</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-a-3D"></use>
                </svg>
                <div class="name">文件类型-3D</div>
                <div class="code-name">#icon-file-a-3D</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-youjian"></use>
                </svg>
                <div class="name">文件类型-邮件</div>
                <div class="code-name">#icon-file-youjian</div>
            </li>
          
            <li class="dib">
                <svg class="icon svg-icon" aria-hidden="true">
                  <use xlink:href="#icon-file-peizhiwenjian"></use>
                </svg>
                <div class="name">文件类型-配置文件</div>
                <div class="code-name">#icon-file-peizhiwenjian</div>
            </li>
          
          </ul>
          <div class="article markdown">
          <h2 id="symbol-">Symbol 引用</h2>
          <hr>

          <p>这是一种全新的使用方式，应该说这才是未来的主流，也是平台目前推荐的用法。相关介绍可以参考这篇<a href="">文章</a>
            这种用法其实是做了一个 SVG 的集合，与另外两种相比具有如下特点：</p>
          <ul>
            <li>支持多色图标了，不再受单色限制。</li>
            <li>通过一些技巧，支持像字体那样，通过 <code>font-size</code>, <code>color</code> 来调整样式。</li>
            <li>兼容性较差，支持 IE9+，及现代浏览器。</li>
            <li>浏览器渲染 SVG 的性能一般，还不如 png。</li>
          </ul>
          <p>使用步骤如下：</p>
          <h3 id="-symbol-">第一步：引入项目下面生成的 symbol 代码：</h3>
<pre><code class="language-html">&lt;script src="./iconfont.js"&gt;&lt;/script&gt;
</code></pre>
          <h3 id="-css-">第二步：加入通用 CSS 代码（引入一次就行）：</h3>
<pre><code class="language-html">&lt;style&gt;
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
&lt;/style&gt;
</code></pre>
          <h3 id="-">第三步：挑选相应图标并获取类名，应用于页面：</h3>
<pre><code class="language-html">&lt;svg class="icon" aria-hidden="true"&gt;
  &lt;use xlink:href="#icon-xxx"&gt;&lt;/use&gt;
&lt;/svg&gt;
</code></pre>
          </div>
      </div>

    </div>
  </div>
  <script>
  $(document).ready(function () {
      $('.tab-container .content:first').show()

      $('#tabs li').click(function (e) {
        var tabContent = $('.tab-container .content')
        var index = $(this).index()

        if ($(this).hasClass('active')) {
          return
        } else {
          $('#tabs li').removeClass('active')
          $(this).addClass('active')

          tabContent.hide().eq(index).fadeIn()
        }
      })
    })
  </script>
</body>
</html>
